package com.liuyu.common.framework.validator.common;

/**
 * @author LiuYu
 * @Project:eplatform
 * @ClassName:ValidConstants
 * @Description:${todo}
 * @date 2019/5/714:36
 * @Copyright:liuyu
 * @version:V1.0
 */
public class ValidConstants {

    /**
     * 产品代码不存在，携带参数
     */
    public static final String OPENAPI_WITH_PARAMETER_PRODUCT_NOT_EXISTS = "openapi.with.parameter.product.not.exists";
    /**
     * 产品代码不存在
     */
    public static final String OPENAPI_PRODUCT_NOT_EXISTS = "openapi.product.not.exists";

    /**
     * appkey 不存在
     */
    public static final String OPENAPI_APPKEY_NOT_EXISTS = "openapi.appkey.not.exists";

    /**
     * 密钥不正确
     */
    public static final String OPENAPI_APPSECRET_ERROR = "openapi.appsecret.error";

    /**
     * 时间戳不存在
     */
    public static final String OPENAPI_TIMESTAMP_NOT_EXISTS = "openapi.timestamp.not.exists";

    /**
     * 时间戳错误
     */
    public static final String OPENAPI_TIMESTAMP_ERROR = "openapi.timestamp.error";


    /**
     * 随机数错误
     */
    public static final String OPENAPI_NONCE_ERROR = "openapi.nonce.error";

    /**
     * 起保日期不能为空
     */
    public static final String OPENAPI_STARTDATE_NOT_EXISTS = "openapi.startdate.not.exists";
    /**
     * 日期格式错误
     */
    public static final String OPENAPI_STARTDATE_FORMAT_ERROR = "openapi.startdate.format.error";

    /**
     *  起保时间不符合约定的范围
     */
    public static final String OPENAPI_STARTDATE_NOT_SCOPE = "openapi.startdate.not.scope";
}
